package com.hzw.saas.api.user.bo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.hzw.saas.common.config.bo.BaseBO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 客户信息
 * </p>
 *
 * @author zzl
 * @since 2021-04-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("客户信息")
public class CustomerBO extends BaseBO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "云平台账户ID", position = 1)
    private String userId;

    @ApiModelProperty(value = "云平台帐号用户名", position = 2)
    private String userName;

    @ApiModelProperty(value = "客户编号", position = 3)
    private String customerNo;

    @Excel(name = "姓名",width = 30)
    @ApiModelProperty(value = "客户姓名", position = 4)
    private String customerName;

    @ApiModelProperty(value = "会员权益级别", position = 5)
    private String customerLevel;

    @Excel(name = "会员级别",width = 30)
    @ApiModelProperty(value = "会员权益级别文本", position = 6)
    private String customerLevelText;

    @Excel(name = "注册手机号",width = 30)
    @ApiModelProperty(value = "客户手机号码", position = 7)
    private String phoneNo;

    @Excel(name = "注册邮箱",width = 30)
    @ApiModelProperty(value = "客户邮箱", position = 8)
    private String email;

    @ApiModelProperty(value = "地区(省/市)", position = 9)
    private String region;

    @ApiModelProperty(value = "详细地址", position = 10)
    private String address;

    @ApiModelProperty(value = "邮编", position = 11)
    private String postcode;

    @ApiModelProperty(value = "机构(学校/企业)", position = 12)
    private String organ;

    @ApiModelProperty(value = "院系/部门", position = 13)
    private String department;

    @ApiModelProperty(value = "职务", position = 14)
    private String jobTitle;

    @ApiModelProperty(value = "关注热点", position = 15)
    private String focus;

    @ApiModelProperty(value = "发票信息", position = 16)
    private String invoice;

    @Excel(name = "注册渠道",width = 30)
    @ApiModelProperty(value = "渠道类型", notes = "A:用户注册/销售手机号|B:后台开通/销售id|C:销售在线推广/销售id|D:单机软件/产品id|E:线上促销推广/活动id|F:线下活动扫码/活动id", position = 17)
    private String channelType;

    @ApiModelProperty(value = "渠道名称", position = 18)
    private String channelName;

    @ApiModelProperty(value = "渠道ID", position = 19)
    private String channelId;

    @Excel(name = "推广销售",width = 30)
    @ApiModelProperty(value = "渠道描述", position = 20)
    private String channelDesc;

    @ApiModelProperty(value = "客户状态，1-正常，0-禁用", position = 21)
    private Integer status;

    @ApiModelProperty(value = "hpc帐号数量", position = 22)
    private Integer hpcAccountAmount;

    @Excel(name = "注册时间",width = 30)
    @ApiModelProperty(value = "注册时间", position = 23)
    private String registerDate;

    @ApiModelProperty(value = "用户关联的工作人员信息")
    private List<CustomerStaffBO> customerStaffBOS;

}
